package events
{
	import flash.events.Event;

	public class event_handler extends Event
	{
		//define event constants
		public static const NEWS:String = "main_news";
		public static const PROJECTS:String = "main_projects";
		public static const RESEARCH:String = "main_research";
		public static const PROFILE:String = "main_profile";
		public static const IDEAS:String = "main_ideas";
		public static const CONSULTANCY:String = "main_consultancy";
		public static const CONTACTUS:String = "main_contactus";
		
		
		//submenu projects
		public static const PLANTATIONBAY:String = "plantationbay";
		public static const INARAHAN:String = "inarahan";
		public static const PANAMCLIPPER:String = "panamclipper";
		public static const ALMACEN:String = "almacen";
		public static const AZOTEA:String = "azotea";
		public static const CHOCOLATEHOUSE:String = "chocolatehouse";
		public static const FOUNTAIN:String = "fountain";
		public static const GARDENHOUSE:String = "gardenhouse";
		public static const KIOSK:String = "kiosk";
		public static const SIESTASHED:String = "siestashed";
		public static const STORAGESHED:String = "storageshed";
		
		//submenu consultancy
		public static const ARCHITECTURE:String = "architecture";
		public static const ENVIRONMENTPLANNING:String = "environmentplanning";
		public static const INTERIORDESIGN:String = "interiordesign";
		public static const CONSERVATION:String = "conservation";
		public static const CITYMUNICIPAL:String = "citymunicipal";
		
		public var data:Object = new Object();
		
		public function event_handler(type:String, bubbles:Boolean=false, cancelable:Boolean=false, obj_data:Object=null)
		{
			super(type, bubbles, cancelable);
			this.data = obj_data;
		}
		
		// Override the inherited clone() method.
        override public function clone():Event {
            return new event_handler(type, bubbles, cancelable, data);
        }
		
	}
}